package com.w5cschool.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author w5cschool
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbLink对象", description="")
public class TbLink implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "友链表主键id")
    @TableId(value = "link_id", type = IdType.AUTO)
    private Integer linkId;

    @ApiModelProperty(value = "友链类别 0-友链 1-推荐 2-个人网站")
    private Integer linkType;

    @ApiModelProperty(value = "网站名称")
    private String linkName;

    @ApiModelProperty(value = "网站链接")
    private String linkUrl;

    @ApiModelProperty(value = "网站描述")
    private String linkDescription;

    @ApiModelProperty(value = "用于列表排序")
    private Integer linkRank;

    @ApiModelProperty(value = "是否删除 0-未删除 1-已删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "添加时间")
    private Date createTime;


}
